/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chatclient;

/**
 *
 * @author NAMQUYUIT
 */
public interface IOnTransferListener {
    //TODO: delete
    public void onSendMessage(String message);
    // Rise when there are new message
    public void onNewMessage(String sender, String message);
    
    // 0. GUI client choose a file and call ChatClient.wantSendFile(String receiver, String fileName)
    // 1. After choosing a file, ChatClient will call this function
    public String onNewSendFileSignal(String sender, String fileName);
    // 2. GUI will show a message and ask user to save a file
    // 3. If YES, Quy do it
    
    // 4. After sending file successfully, ChatClient will call this function
    public void onSendFileSuccess(String sender, String fileName);
}
